package com.tt.pay

/**
 * Created by  tengtao 2019-11-21 10:00
 * @Description: 支付回调
 */
interface PayResultCallBack {
    /**
     * 支付成功
     */
    fun onSuccess()

    /**
     * 支付失败
     */
    fun onError(errorCode: Int, thirdErrorCode: String = "",thirdErrorStr: String = "")

    /**
     * 取消支付
     */
    fun onCancel()
}